package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.CategoryDTO;
import com.leyou.item.pojo.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {

    CategoryDTO queryCategoryById(Long id);

    List<CategoryDTO> queryCategoryByIdList(List<Long> ids);

    List<CategoryDTO> queryCategoryByBrandId(Long id);

    List<CategoryDTO> queryCategoryByParentId(Long id);
}
